<?php
return array(
    'URL_ROUTER_ON'   => true, //开启路由
    'URL_ROUTE_RULES' => array( //定义路由规则
                                'drug/:id'              => array('Home/Drug/index'),
                                'comment/drug/:id'      => array('Home/Comment/comment'),
                                'comment/:id'           => array('Home/Comment/index'),
                                'category/:id/:detail_cate'  => array('Home/Category/detailCate'),
                                'category/:id'          => array('Home/Category/index'),
                                'news/:id'              => array('Home/News/detail'),
                                'nList/:id'              =>array('Home/News/new_list'),
                                'nList/:id/:p'          =>array('Home/News/new_list'),
                                'login'                 =>array('Home/Login/index'),
                                'login_out'              =>array('Home/Login/loginOut'),
                                'forget_password'       =>array('Home/Login/forget_password'),
                                'do_login'              =>array('Home/Login/login_do'),
                                'sign'                  =>array('Home/Login/sign'),
                                'do_sign'               =>array('Home/Login/sign_do'),
                                'sms_send'              =>array('Home/Login/send_sms'),
                                'search/:value'         =>array('Home/Search/list_search'),
                                'test/:value'           =>array('Home/Search/test'),
                                'search'                =>array('Home/Search/index'),
                                'owner'                 =>array('Home/Owner/index'),
                                'collection/:id'        =>array('Home/Collection/index')
    ),
);